FROM tomcat:9-jdk11

ADD ./app_tomcat/sxkj_admin.war /usr/local/tomcat/webapps/ROOT.war
ENV JAVA_OPTS "$JAVA_OPTS -Dspring.profiles.active=test -Dfile.encoding=UTF-8"

EXPOSE 8080
